<html>
<head><meta charset="utf-8"><title>can we automate triaging PRs a bit? · clippy · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/index.html">clippy</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html">can we automate triaging PRs a bit?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="225778992"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/225778992" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#225778992">(Feb 10 2021 at 00:30)</a>:</h4>
<p>Can we automate triaging PRs a bit, for example using stale bot? I don't think auto closing isn't needed but marking comments for PR with no activity (2 weeks) may be useful for notifying.</p>



<a name="225785746"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/225785746" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#225785746">(Feb 10 2021 at 02:05)</a>:</h4>
<blockquote>
<p>I don't think auto closing isn't needed but marking comments for PR with no activity (2 weeks) may be useful for notifying.</p>
</blockquote>
<p>oops, I mean that auto closing isn't needed and marking comments may by helpful.</p>



<a name="225811386"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/225811386" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#225811386">(Feb 10 2021 at 09:26)</a>:</h4>
<p>I'd also like to have something like this. See <a href="https://github.com/rust-lang/rust-clippy/issues/6629">clippy#6629</a>. My idea is to have a dashboard like the <a href="https://bors.rust-lang.org/queue/clippy">bors queue</a> where PRs are marked as waiting for review/author and color it depending on how long ago the last update was.</p>



<a name="225836432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/225836432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#225836432">(Feb 10 2021 at 13:39)</a>:</h4>
<p>Yes, a dashboard looks good! Now, I do PR triage by getting PRs based on last updated_at with my small CLI tool and pinging. I want to improve this.</p>



<a name="226305049"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226305049" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226305049">(Feb 14 2021 at 13:49)</a>:</h4>
<p>Do you mean a PRs dashboard like this?<br>
<a href="/user_uploads/4715/krQjnSw51hMSwYOjcG3aUbca/dashboard.png">dashboard.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/krQjnSw51hMSwYOjcG3aUbca/dashboard.png" title="dashboard.png"><img src="/user_uploads/4715/krQjnSw51hMSwYOjcG3aUbca/dashboard.png"></a></div>



<a name="226305251"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226305251" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226305251">(Feb 14 2021 at 13:54)</a>:</h4>
<p>Yes, that looks really good. Maybe color grade this a bit more: After 1 week it gets to yellow, after two weeks it's red. Also it would be good if it would be more visible if the PR is waiting on the author or the reviewer. I could imagine something like: list the author and the assignee and then only color the column that needs to do something. So if there is a review and the author has to do something, the authors name background will be colored in green/yellow/red and the same for the reviewer if the last change was made by the author.</p>



<a name="226305267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226305267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226305267">(Feb 14 2021 at 13:55)</a>:</h4>
<p>(And this shows that I'm the one not getting my reviews in. I try to catch up today)</p>



<a name="226305555"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226305555" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226305555">(Feb 14 2021 at 14:02)</a>:</h4>
<p>Thanks for your feedback. I'm developing a sample dashboard app on my laptop. I'll try to improve this a few days later.</p>



<a name="226305639"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226305639" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226305639">(Feb 14 2021 at 14:03)</a>:</h4>
<p>Thanks, that's awesome! Once you have a prototype, we could talk with the infra team, if they would be interested to include it in the <code>bors</code> dashboard, so every repo can use it. But having it just for Clippy is already great.</p>



<a name="226306211"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226306211" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226306211">(Feb 14 2021 at 14:15)</a>:</h4>
<p>Oh, I've never imagined every repo may use this, so I'm developing this in Rust, not Python ( bors queue (home) seems to be written in Python ). Anyway, first I'll improve this.</p>



<a name="226306308"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226306308" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226306308">(Feb 14 2021 at 14:16)</a>:</h4>
<p>Writing it in Rust should definitely work. If someone had the time and energy to RIIR the bors dashboard, I think everybody would be happy <span aria-label="smiley" class="emoji emoji-1f603" role="img" title="smiley">:smiley:</span> Also I heard integrating Rust in python should be quite pleasant.</p>



<a name="226306332"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226306332" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226306332">(Feb 14 2021 at 14:17)</a>:</h4>
<p>So use the tools and language you're most comfortable with. The integration comes second.</p>



<a name="226661085"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226661085" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226661085">(Feb 17 2021 at 14:12)</a>:</h4>
<p>I have some updates on a dashboard prototype.<br>
<a href="/user_uploads/4715/UVqiDKZbqTeM13_VZ-e6sUol/dashboard.png">dashboard.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/UVqiDKZbqTeM13_VZ-e6sUol/dashboard.png" title="dashboard.png"><img src="/user_uploads/4715/UVqiDKZbqTeM13_VZ-e6sUol/dashboard.png"></a></div>



<a name="226661195"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226661195" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226661195">(Feb 17 2021 at 14:13)</a>:</h4>
<p>The repository is here.<br>
<a href="https://github.com/giraffate/toriage">https://github.com/giraffate/toriage</a></p>



<a name="226662584"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226662584" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226662584">(Feb 17 2021 at 14:23)</a>:</h4>
<p>That looks really good. I question my suggestion of highlighting the names of the person that has to take action from a UX perspective though. This could be interpreted as marking the person that left the latest update, rather than the person that has to respond to the PR. </p>
<p>Maybe just insert a column between the PR title and the author with just the color (as you had before) and then print the name of the person that has to respond in bold?</p>
<p>I'm really not good in UX design, so if someone has better ideas here, they're really welcome.</p>



<a name="226662831"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226662831" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226662831">(Feb 17 2021 at 14:24)</a>:</h4>
<p>Do you determine the person that has to provide an update solely by the label or do you also check the activity on the PR?</p>



<a name="226665446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226665446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226665446">(Feb 17 2021 at 14:44)</a>:</h4>
<p><span class="user-mention silent" data-user-id="264664">flip1995</span> <a href="#narrow/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F/near/226662584">said</a>:</p>
<blockquote>
<p>Maybe just insert a column between the PR title and the author with just the color (as you had before) and then print the name of the person that has to respond in bold?</p>
</blockquote>
<p>I like this. But  I'm also not good in UX design, so other's opinions are really welcome.</p>



<a name="226665602"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226665602" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226665602">(Feb 17 2021 at 14:45)</a>:</h4>
<blockquote>
<p>Do you determine the person that has to provide an update solely by the label or do you also check the activity on the PR?</p>
</blockquote>
<p>Now, it woks like below. If the PR has the S-waiting-on-author label, Author column is colored. If the PR has the S-waiting-on-review label, Assignee column is colored.</p>



<a name="226666169"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226666169" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226666169">(Feb 17 2021 at 14:49)</a>:</h4>
<p>Last question for now: Why is there an extra <code>o</code> in the name "Toriage" <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span></p>



<a name="226668646"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226668646" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226668646">(Feb 17 2021 at 15:04)</a>:</h4>
<p>First it was a just typo and I continue to use it as it is:)</p>



<a name="226668737"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226668737" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226668737">(Feb 17 2021 at 15:04)</a>:</h4>
<p>I often do this typo, maybe it's because it can be pronounced like my native language. <span aria-label="smiley" class="emoji emoji-1f603" role="img" title="smiley">:smiley:</span></p>



<a name="226699036"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226699036" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mario Carneiro <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226699036">(Feb 17 2021 at 18:05)</a>:</h4>
<p>it's karaage made from chicken ^^</p>



<a name="226777080"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/226777080" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#226777080">(Feb 18 2021 at 08:14)</a>:</h4>
<p>I would say it's a combination of the word <a href="https://en.wikipedia.org/wiki/Torii">Torii</a> and "Triage". And it symbolizes that the dashboard is a gateway for easier traiging. <span aria-label="smiley" class="emoji emoji-1f603" role="img" title="smiley">:smiley:</span></p>



<a name="227434542"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/227434542" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#227434542">(Feb 23 2021 at 14:06)</a>:</h4>
<blockquote>
<p>Maybe just insert a column between the PR title and the author with just the color (as you had before) and then print the name of the person that has to respond in bold?</p>
</blockquote>
<p>I have some updates on this.<br>
<a href="/user_uploads/4715/UcbmLutQZSM7G06wn9N_N97s/dashboard.png">dashboard.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/UcbmLutQZSM7G06wn9N_N97s/dashboard.png" title="dashboard.png"><img src="/user_uploads/4715/UcbmLutQZSM7G06wn9N_N97s/dashboard.png"></a></div>



<a name="227437233"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/227437233" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#227437233">(Feb 23 2021 at 14:23)</a>:</h4>
<p>Nice, that looks good! I would also make teh author/assignee name bold, to faster spot if it is waiting on review or on the author.  And instead of coloring the column completely, I would use dots like in the Rollup column of the bors queue. </p>
<p>Otherwise the only thing left would be to maybe make this "smarter". (e.g. Only look at commits/comments by the author/assignee, and not bors or triagers for the update date)</p>



<a name="227444152"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/227444152" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#227444152">(Feb 23 2021 at 15:01)</a>:</h4>
<blockquote>
<p>I would also make teh author/assignee name bold, to faster spot if it is waiting on review or on the author. And instead of coloring the column completely, I would use dots like in the Rollup column of the bors queue.</p>
</blockquote>
<p>Thanks for you feedback! Some updates on only views.<br>
<a href="/user_uploads/4715/oOYv7wjmjQ7cYHTXpIxDMTRg/dashboard.png">dashboard.png</a> </p>
<div class="message_inline_image"><a href="/user_uploads/4715/oOYv7wjmjQ7cYHTXpIxDMTRg/dashboard.png" title="dashboard.png"><img src="/user_uploads/4715/oOYv7wjmjQ7cYHTXpIxDMTRg/dashboard.png"></a></div><blockquote>
<p>Otherwise the only thing left would be to maybe make this "smarter". (e.g. Only look at commits/comments by the author/assignee, and not bors or triagers for the update date)</p>
</blockquote>
<p>I'll think this later. I need to read GitHub API references further.</p>



<a name="227444667"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/227444667" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#227444667">(Feb 23 2021 at 15:04)</a>:</h4>
<p>Awesome! This is already really helpful. Every additional feature is just icing on the cake.</p>



<a name="227450314"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/227450314" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> xFrednet <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#227450314">(Feb 23 2021 at 15:41)</a>:</h4>
<p>The change definitely improved the overview <span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span> It might be cool to also have some kind of indicator for PR's which are marked as drafts. Maybe by making the name slightly grayer? IDK what the usual triage guidelines are for draft/wip PRs</p>



<a name="227529011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/227529011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#227529011">(Feb 24 2021 at 00:26)</a>:</h4>
<p>Thanks for your feedback! </p>
<blockquote>
<p>IDK what the usual triage guidelines are for draft/wip PRs</p>
</blockquote>
<p>Yes, I don't know, too. For now, I'm addressing like any other, and pinging with comments asking if author need help.<br>
And I don'k know if I can deal with long staled PRs as well.</p>



<a name="228234030"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228234030" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228234030">(Mar 01 2021 at 14:01)</a>:</h4>
<p>Hi, I have some updates on this.</p>
<p>A sample app is here. Sometimes, it's sleeping (slow to access)  because of using free plan. And, it may not be accessible because it is under development. Anyway, feedbacks are really welcome.<br>
<a href="https://toriage.herokuapp.com/">https://toriage.herokuapp.com/</a></p>



<a name="228236326"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228236326" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228236326">(Mar 01 2021 at 14:14)</a>:</h4>
<p>Ah great! And you also included the Rust repo already! I think this is at a point where we may want to get the infra team involved? I would declare the prototype as finished and start looking at including this in the Rust infrastructure.</p>
<p>What would also be great is a filter for "Wait for"/"Author"/"Assignee".  Maybe a GitHub-like search thing, where you can put something like <code>assignee:flip1995</code> and it gets converted to <code>&lt;url&gt;?q=assignee%3Aflip1995+...</code> which you can then deal with as a GET request?</p>
<p>Example: <a href="https://github.com/openhwgroup/corev-binutils-gdb/pulls?q=is%3Apr+is%3Aclosed">https://github.com/openhwgroup/corev-binutils-gdb/pulls?q=is%3Apr+is%3Aclosed</a></p>



<a name="228239392"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228239392" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228239392">(Mar 01 2021 at 14:31)</a>:</h4>
<blockquote>
<p>Ah great! And you also included the Rust repo already! I think this is at a point where we may want to get the infra team involved? I would declare the prototype as finished and start looking at including this in the Rust infrastructure.</p>
</blockquote>
<p>Yes! I think this is  at a point for them to see it once. I found a paging bug just now, but it should be fine to see.</p>
<blockquote>
<p>What would also be great is a filter for "Wait for"/"Author"/"Assignee". Maybe a GitHub-like search thing, where you can put something like assignee:flip1995 and it gets converted to &lt;url&gt;?q=assignee%3Aflip1995+... which you can then deal with as a GET request?</p>
</blockquote>
<p>Hmm, it might be difficult because GitHub API doesn't seem to provide such a filter as a query parameter.<br>
<a href="https://docs.github.com/en/rest/reference/pulls#list-pull-requests">https://docs.github.com/en/rest/reference/pulls#list-pull-requests</a><br>
I guess a filter like clippy doc may be useful.</p>



<a name="228240915"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228240915" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228240915">(Mar 01 2021 at 14:39)</a>:</h4>
<p>Oh I meant to implement this in the Toriage app. So don't touch anything of the API access, but just filter the generated view of the PR list.</p>



<a name="228241746"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228241746" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228241746">(Mar 01 2021 at 14:43)</a>:</h4>
<p>Oh, I got it! I think I can do it, thanks!</p>



<a name="228242962"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228242962" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> flip1995 <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228242962">(Mar 01 2021 at 14:50)</a>:</h4>
<p><span class="user-mention" data-user-id="316507">@Takayuki Nakata</span> since your not subscribed to the infra channel, here's the link to the Zulip thread I started there: <a href="#narrow/stream/242791-t-infra/topic/Triage.20PR.20dashboard/near/228242804">https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/Triage.20PR.20dashboard/near/228242804</a></p>



<a name="228247786"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228247786" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228247786">(Mar 01 2021 at 15:18)</a>:</h4>
<p>Thanks, I subscribed it.</p>



<a name="228251837"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228251837" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Cameron Steffen <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228251837">(Mar 01 2021 at 15:42)</a>:</h4>
<p>Suggestion for the colored dot column:<br>
<a href="/user_uploads/4715/7vd2RU9FUWtRa6EvZSwfSxYk/image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/7vd2RU9FUWtRa6EvZSwfSxYk/image.png" title="image.png"><img src="/user_uploads/4715/7vd2RU9FUWtRa6EvZSwfSxYk/image.png"></a></div>



<a name="228486879"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228486879" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> DPC <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228486879">(Mar 02 2021 at 21:14)</a>:</h4>
<ul>
<li>some filters would be nice (in future) </li>
<li>would be nice to have last updated in a human readable form such as <code>time since</code> form (e.g. 1 day ago)</li>
</ul>



<a name="228604702"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/228604702" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#228604702">(Mar 03 2021 at 14:52)</a>:</h4>
<p>I create a PR to add this dashboard to rust-lang/triagebot: <a href="https://github.com/rust-lang/triagebot/pull/1223">https://github.com/rust-lang/triagebot/pull/1223</a> .</p>



<a name="230170164"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/230170164" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Takayuki Nakata <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#230170164">(Mar 13 2021 at 15:42)</a>:</h4>
<p>The triage dashboard works now. Thanks!<br>
<a href="https://triage.rust-lang.org/triage/rust-lang/rust-clippy">https://triage.rust-lang.org/triage/rust-lang/rust-clippy</a></p>



<a name="230277912"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/can%20we%20automate%20triaging%20PRs%20a%20bit%3F/near/230277912" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Cameron Steffen <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/can.20we.20automate.20triaging.20PRs.20a.20bit.3F.html#230277912">(Mar 14 2021 at 23:15)</a>:</h4>
<p>Great work Takayuki!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>